<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" th:href="@{/mb/css/shopping-mall-index.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/mb/css/style.css}"/>
    <link th:href="@{/mb/css/bootstrap.min.css}" rel="stylesheet" type="text/css">
    <link th:href="@{/mb/css/css.css}" rel="stylesheet" type="text/css">
    <link th:href="@{/mb/css/Animation.css}" rel="stylesheet" type="text/css">
    <link rel="stylesheet" th:href="@{/layui/dist/css/layui.css}" media="all">
    <link rel="stylesheet" type="text/css" th:href="@{/style/container.css}">

    <!--结束-->
</head>
<body style="background-color: white">
<!--nav-->
<!--头开始-->
<header class="navbar-fixed-top headerbg" th:each="codeUser:${codeUsers}">
    <!--左上角logo-->
    <div class="logo">
        <a href="http://www.baidu.com" th:href="@{/mc/logged/loginIndex(userNo=${codeUser.userNo})}" class="fl mt10">
            <img th:src="@{/mb/images/mclogo.png}" style="margin-top: -30px;margin-left: 30px" alt=""></a></div>



    <!--导航栏剩余部分-->
    <div class="navBox hidden-xs hidden-sm" style="float: right;margin-right: 10%">
        <ul class="navList list-unstyled">
            <li class="navLi">
                <h3>
                    <a th:href="@{/mc/logged/loginIndex(userNo=${codeUser.userNo})}"><span>首页</span></a>
                </h3>
            </li>
            <li class="navLi"><h3><a href="#"
                                     th:href="@{/mc/item/loginItemsList(userNo=${codeUser.userNo})}"><span>项目</span></a>
            </h3></li>

            <li class="navLi">
                <h3>
                    <div th:if="${codeUser.type}==1">
                        <a href="#" th:href="@{/mc/item/myRelease(userNo=${codeUser.userNo})}"><span>我的发布</span></a>
                    </div>
                </h3>
            </li>

            <li class="navLi">
                <h3>
                        <span th:if="${codeUser.type}==1">
                            <a href="#"
                               th:href="@{/mc/item/releaseProject(userNo=${codeUser.userNo})}"><span>项目发布</span></a></span>
                </h3>
            </li>
            <li class="navLi">
                <h3>
                        <span th:if="${codeUser.type}==2">
                            <a href="#"
                               th:href="@{/mc/stage/participatingProjects(userNo=${codeUser.userNo})}"><span>我的参与</span></a></span>
                </h3>
            </li>
            <li class="navLi"><h3><a href="#"
                                     th:href="@{/mc/logged/help(userNo=${codeUser.userNo})}"><span>帮助</span></a></h3>
            </li>
            <li class="navLi"><h3>
                <span th:if="${codeUser.image}">
                <img th:src="@{'/article/'+ ${codeUser.image}}" height="60px" width="60px"> </span>
                <span th:unless="${codeUser.image}">
                <img th:src="@{/images/center.png}" height="60px" width="60px">
                </span></h3>
                <div class="navSub">
                    <ul class="navSubList list-unstyled">
                        <li class="navSubLi">
                            <h4><a style="text-decoration: none" th:text="'hello，'+${codeUser.nickName}">hello，xxx</a>
                            </h4>
                        </li>
                        <li class="navSubLi">
                            <h4><a th:href="@{/mc/logged/userInformation(userNo=${codeUser.userNo})}">● 个人中心</a></h4>
                        </li>
                        <li class="navSubLi">
                            <h4><a th:href="@{/mc/logged/moneyPay(userNo=${codeUser.userNo})}">● 我的开发宝</a></h4>
                        </li>
                        <li class="navSubLi">
                            <h4><a th:href="@{/mc/item/myCollection(userNo=${codeUser.userNo})}">● 我的收藏</a></h4>
                        </li>
                        <li class="navSubLi">
                            <h4><a th:href="@{/mc/logged/advise(userNo=${codeUser.userNo})}">● 我要建议</a></h4>
                        </li>
                        <li class="navSubLi">
                            <h4><a th:href="@{/mc/}">● 退出登录</a></h4>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
</header>
<!--头结尾-->
<!--动态线条-->
<div class="bannerN animated" style="height: 200px">
    <div class="imgFull"><img class="img-responsive" th:src="@{/mb/images/ab_bg_01.png}"></div>
    <div class="clouds_one"></div>
    <div class="clouds_two"></div>
    <div class="clouds_three"></div>
</div>
<!--动态线条结尾-->


<div class="personal w1200" style="align-content: center; width: 900px;margin-top: 50px;margin-bottom: 50px">
    <div class="personal-left f-l">
        <div class="personal-l-tit">
            <h3>个人中心</h3>
        </div>
        <ul th:each="codeUser:${codeUsers}">
            <li class="per-li1"><a th:href="@{/mc/logged/userInformation(userNo=${codeUser.userNo})}">个人资料<span>></span></a>
            </li>
            <li class="per-li2"><a th:href="@{/mc/logged/moneyPay(userNo=${codeUser.userNo})}">开发宝余额<span>></span></a>
            </li>
            <li class="per-li3"><a href="#"
                                   th:href="@{/mc/logged/password(userNo=${codeUser.userNo})}">设置支付密码<span>></span></a>
            </li>
            <li class="current-li per-li4"><a th:href="@{/mc/item/myCollection(userNo=${codeUser.userNo})}">我收藏的项目<span>></span></a>
            </li>
            <!--<li class="per-li4"><a href="#">我参与的项目<span>></span></a></li>-->
            <li class="per-li5"><a th:href="@{/mc/logged/advise(userNo=${codeUser.userNo})}">我要建议<span>></span></a></li>
        </ul>
    </div>
    <div class="personal-r f-r" style="width: 650px;margin-left: 10px">
        <div class="personal-right">
            <div class="personal-r-tit">
                <h3>我收藏的项目</h3>
            </div>


            <!--第一个-->
            <div class="news-list">
                <div style="width: 630px;margin-left: 5px" th:each="collects:${collectItems}">
                    <div class="news_list mtb20">
                        <ul class="list_style">
                            <li class="news_info wow fadeInUp">
                                <div class="contents">
                                    <div class="news_time">
                                        <h1 style="font-size: 18px">
                                             <span th:if="${collects.itemImage}">
                                            <img class="lazyloadimg" alt="标题标题标题标题标题标题"
                                                 th:src="@{'/article/'+ ${collects.itemImage}}"
                                                 width="90px" height="90px"/>
                                                </span>
                                            <span th:unless="${collects.itemImage}">
                                                  <img class="lazyloadimg" alt="标题标题标题标题标题标题"
                                                       th:src="@{/images/noImage.png}"
                                                       width="90px" height="90px"/>
                                                    </span>
                                        </h1>
                                        <h6> 项目类型: <span th:switch="${collects.itemType}">
                                                            <span th:case="1">Web网站</span>
                                                            <span th:case="2">App开发</span>
                                                            <span th:case="3">微信公众号</span>
                                                            <span th:case="4">小程序</span>
                                                            <span th:case="5">HTML应用</span>
                                                            <span th:case="6">其他</span>
                                                      </span>
                                        </h6>
                                    </div>
                                    <div class="news_contents">
                                        <a th:href="@{/mc/item/itemDetails(userNo=${collects.promulgatorId},itemNo=${collects.itemNo})}">
                                        <h3 th:text="${collects.itemName}">软件名称 tv系统酒店版正式发布</h3>
                                        </a>
                                        <div class="dt1 ">
                                            <p>项目简介：</p>
                                            <div style="margin-left: -10px">
                                                <textarea class="layui-textarea" th:text="${collects.text}"
                                                          maxlength="500" style="min-height: 80px;width: 380px"
                                                          readonly="readonly"></textarea>
                                            </div>
                                        </div>
                                        <!--项目简介:<textarea style="width: 200px;" th:text="${collects.text}">-->
                                        <!--更多详情请来电咨询。</textarea>-->
                                    </div>
                                    <span class="number" style="float:right;margin-right: 5px">
                                                    <span th:switch="${collects.itemDid}">
                                                            <span th:case="1">
                                                                      <button style="float: right"
                                                                              class="layui-btn layui-btn-lg layui-btn-radius layui-btn-normal">招募中</button>
                                                            </span>
                                                            <span th:case="2">
                                                                      <button style="float: right"
                                                                              class="layui-btn layui-btn-lg layui-btn-radius layui-btn-danger">进行中</button>
                                                            </span>
                                                            <span th:case="3">
                                                                      <button style="float: right"
                                                                              class="layui-btn layui-btn-lg layui-btn-radius layui-btn-disabled">已结束</button>
                                                            </span>
                                                    </span>
                                        </span>


                                </div>

                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="pagination center pagination-large pt-20" style="margin-left:30%">
                <div class="row text-center">
                    <div class="col-md-12">
                        <ul class="pagination">
                            <li><a th:class="${currentPage eq 1 ? 'btn disabled' : '' }" href="javascript:;" th:href="@{/mc/item/myCollection(page=1,userNo=${codeUsers.get(0).getUserNo()})}">首页</a></li>
                            <li><a th:class="${currentPage eq 1 ? 'btn disabled' : '' }" href="javascript:void(0);" th:href="@{/mc/item/myCollection(page=${currentPage}-1,userNo=${codeUsers.get(0).getUserNo()})}">&laquo;</a></li>

                            <li th:class="${page eq currentPage} ? 'active' : ''" th:each="page:${#numbers.sequence(1,totalPage)}">
                                <a href="javascript:void(0);" th:href="@{/mc/item/myCollection(page=${page},userNo=${codeUsers.get(0).getUserNo()})}" th:text="${page}">1</a>
                            </li>

                            <li><a th:class="${currentPage eq totalPage ? 'btn disabled' : '' }" href="javascript:void(0);" th:href="@{/mc/item/myCollection(page=${currentPage}+1,userNo=${codeUsers.get(0).getUserNo()})}">&raquo;</a></li>
                            <li><a th:class="${currentPage eq totalPage ? 'btn disabled' : '' }" href="#" th:href="@{/mc/item/myCollection(page=${totalPage},userNo=${codeUsers.get(0).getUserNo()})}" style="border: 1px solid #ddd;">尾页</a></li>
                            <li><a style="border: 0px;margin-left: 0px;">当前页<span th:text="${currentPage}"></span>/<span th:text="${totalPage}"></span>总页</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div style="clear:both;"></div>
</div>

<!--联系我们-->
<div class="contact-container" style="z-index: 99">
    <div class="contact-connect-container">
        <div class="button-container">
            <img th:src="@{/images/contacts.png}"/><span style="margin-left: 5px;">联系我们</span>
        </div>
        <div class="pop" style="display: none;">
            <div class="word" style="text-align: center;"><span style="font-size: 12px;">在线咨询请扫描下面二维码👇</span></div>
            <div style="height: 120px;width: 120px;margin:20px 22px;">
                <img th:src="@{/images/QR.jpg}" style="width: 120px;height: 120px;margin-top: -15px;"/>
            </div>
        </div>
    </div>
</div>
<div style="margin-top: 80px"></div>
<footer class="footerBg" style="position:fixed;bottom: 0;z-index: 20;width: 100%;margin-top:20px" >
    <div class="container"><span class="footer_logo"><img th:src="@{/mb/images/mclogo.png}"></span><span
            class="CopyRight_name">码虫互联网服务外包平台 </span></div>
</footer>
</body>
<script th:src="@{/mb/js/jquery-3.3.1.min.js}" type="text/javascript"></script>
<script th:src="@{/mb/js/jquery.js}" type="text/javascript"></script>
<script type="text/javascript" th:src="@{/js/Contacts.js}"></script>
<script type="text/javascript" th:src="@{/dist/js/bootstrap.min.js}"></script>


</html>